﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace ZBJF.Warranty.TheThirdPartyInteraction.Sellers.ChiDu
{
    /// <summary>
    /// 返回状态码
    /// </summary>
    [DataContract]
    public enum StatusCodeEnum
    {
        /// <summary>
        ///处理成功
        /// </summary>
        [EnumMember]
        [Description("处理成功")]
        Success = 200,
        /// <summary>
        /// 未授权标识
        /// </summary>
        [EnumMember]
        [Description("未授权标识")]
        Unauthorized = 300,
        /// <summary>
        /// 请求参数不完整或不正确
        /// </summary>
        [EnumMember]
        [Description("请求参数不完整或不正确")]
        ParameterError = 400,
        /// <summary>
        /// 请求内容验证失败
        /// </summary>
        [EnumMember]
        [Description("请求内容验证失败")]
        MessageValidateError = 401,
        /// <summary>
        /// 时间戳超时
        /// </summary>
        [EnumMember]
        [Description("请求失效")]
        TimeStampOver = 402,
        /// <summary>
        /// 时间戳不正确
        /// </summary>
        [EnumMember]
        [Description("请求失效")]
        TimeStampError = 403,
        /// <summary>
        /// 审核不通过
        /// </summary>
        [EnumMember]
        [Description("审核不通过")]
        AuditFailure = 420,
        /// <summary>
        /// 内部请求出错
        /// </summary>
        [EnumMember]
        [Description("内部请求出错")]
        Error = 500,
        /// <summary>
        /// 订单重复
        /// </summary>
        [EnumMember]
        [Description("订单重复")]
        OrderRepeat = 600,
        /// <summary>
        /// 未查询到订单
        /// </summary>
        [EnumMember]
        [Description("未查询到订单")]
        OrderNoFound = 604,
        /// <summary>
        /// 订单状态错误（不是审核通过状态）
        /// </summary>
        [EnumMember]
        [Description("订单状态错误（不是审核通过状态）")]
        OrderStatusError = 605,
        /// <summary>
        /// 未查询到华安保单信息
        /// </summary>
        [EnumMember]
        [Description("未查询到华安保单信息")]
        HuaAnOrderNoFound = 608,
        /// <summary>
        /// 华安保单信息状态不对
        /// </summary>
        [EnumMember]
        [Description("华安保单信息状态不对")]
        HuaAnOrderStatusError = 609,
        /// <summary>
        /// 华安保单信息与本地校验失败
        /// </summary>
        [EnumMember]
        [Description("华安保单信息与本地校验失败")]
        HuaAnOrderInfoValidateError = 610
    }
}